package com.youhome.service.service;

import com.youhome.service.model.CompanyToken;

import java.util.List;

/**
 * Created by chen365 on 2019/03/27.
 */
public interface CompanyTokenService {
    int deleteByPrimaryKey(Long tokenId);

    int insert(CompanyToken record);

    int insertSelective(CompanyToken record);

    CompanyToken selectByPrimaryKey(Long tokenId);

    CompanyToken selectByCompanyId(Long companyId);

    List<CompanyToken> selectByAll();

    int updateByPrimaryKeySelective(CompanyToken record);

    int updateByPrimaryKey(CompanyToken record);
}
